# 实战一
lst=['京A8888','津B6666','吉A77766']
for item in lst:
    area=item[0:1]
    print(item,'归属地为:',area)

print('='*60)
# 实战二
s='HelloPython,HelloJava,hellophp'
c=input("输入字符：")
print('{0}在{1}一共出现了{2}次'.format(c,s,s.upper().count(c.upper())))

